import {
    Button,
    Card,
    Carousel,
    CarouselItem,
    Dialog,
    Loading,
    MessageBox,
    Message,
    Notification,
    Input,
    Radio,
    RadioGroup,
    RadioButton,
    Cascader,
    Collapse,
    CollapseItem,
    TimeSelect,
    Dropdown,
    DropdownMenu,
    DropdownItem,
    Row,
    Option,
    Select,
    Image,
    Header,
    Aside,
    Main,
    Footer,
    Container,
    Avatar,
    Divider,
    Tooltip,
    Popconfirm,
    Table,
    TableColumn,

} from 'element-ui'
const element = {
    install: function (Vue) {
        Vue.use(Table)
        Vue.use(TableColumn)
        Vue.use(Popconfirm)
        Vue.use(Header)
        Vue.use(Aside)
        Vue.use(Main)
        Vue.use(Footer)
        Vue.use(Container)
        Vue.use(Divider)
        Vue.use(Image)
        Vue.use(Avatar)
        Vue.use(Button)
        Vue.use(Card)
        Vue.use(Carousel)
        Vue.use(CarouselItem)
        Vue.use(Dialog)
        Vue.use(Input)
        Vue.use(Radio);
        Vue.use(RadioGroup);
        Vue.use(RadioButton);
        Vue.use(Cascader);
        Vue.use(Collapse);
        Vue.use(CollapseItem);
        Vue.use(TimeSelect);
        Vue.use(Dropdown);
        Vue.use(DropdownMenu);
        Vue.use(DropdownItem);
        Vue.use(Row);
        Vue.use(Option);
        Vue.use(Select);
        Vue.use(Tooltip);
        Vue.prototype.$loading = Loading.service;
        Vue.prototype.$msgbox = MessageBox;
        Vue.prototype.$alert = MessageBox.alert;
        Vue.prototype.$confirm = MessageBox.confirm;
        Vue.prototype.$prompt = MessageBox.prompt;
        Vue.prototype.$notify = Notification;
        Vue.prototype.$message = Message;


    }
}

export default element
